.class Lcom/xingbook/baike/activity/u;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

.field private final synthetic b:Z


# direct methods
.method constructor <init>(Lcom/xingbook/baike/activity/BaikeDetailActivity;Z)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/activity/u;->a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

    iput-boolean p2, p0, Lcom/xingbook/baike/activity/u;->b:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    const/4 v4, 0x4

    const/4 v1, 0x0

    invoke-static {}, Lcom/xingbook/group/c/a;->a()Lcom/xingbook/group/c/a;

    move-result-object v0

    iget-object v2, p0, Lcom/xingbook/baike/activity/u;->a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

    invoke-static {v2}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->h(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Ljava/lang/String;

    move-result-object v2

    iget-boolean v3, p0, Lcom/xingbook/baike/activity/u;->b:Z

    invoke-virtual {v0, v2, v3}, Lcom/xingbook/group/c/a;->a(Ljava/lang/String;Z)Lcom/xingbook/park/e/c;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->e()I

    move-result v2

    const/16 v3, 0xc8

    if-ne v2, v3, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->a()I

    move-result v2

    if-nez v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/baike/activity/u;->a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/baike/activity/w;

    move-result-object v2

    const/4 v3, 0x3

    iget-boolean v0, p0, Lcom/xingbook/baike/activity/u;->b:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    const/4 v4, 0x0

    invoke-virtual {v2, v3, v0, v1, v4}, Lcom/xingbook/baike/activity/w;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    :goto_1
    return-void

    :cond_0
    move v0, v1

    goto :goto_0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/baike/activity/u;->a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

    invoke-static {v1}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/baike/activity/w;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "\u64cd\u4f5c\u5931\u8d25\uff1a"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/xingbook/park/e/c;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v4, v0}, Lcom/xingbook/baike/activity/w;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/xingbook/baike/activity/u;->a:Lcom/xingbook/baike/activity/BaikeDetailActivity;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeDetailActivity;->i(Lcom/xingbook/baike/activity/BaikeDetailActivity;)Lcom/xingbook/baike/activity/w;

    move-result-object v0

    const-string v1, "\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u64cd\u4f5c\u5931\u8d25"

    invoke-virtual {v0, v4, v1}, Lcom/xingbook/baike/activity/w;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    goto :goto_1
.end method
